<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2023/3/31
  Time: 22:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>添加题目</title>
</head>
<body>
<div style="color: red;font-size: small">${warn}</div>
<form action="http://localhost:8080/ExaminationManagement1_war/AddQuestion" method="post">
    <div>题干:</div><textarea name="question" placeholder="题干" value="${question}"></textarea><br><br>
    <div>答案:</div><textarea  name="answer" placeholder="答案" value="${answer}"></textarea><br><br>
    <div>解析:</div><textarea  name="parse" placeholder="解析" ${parse}></textarea><br><br>
    <input type="submit" value="完成添加" name="add">
    <input type="submit" value="继续添加" name="add">
</form>
<form action="http://localhost:8080/ExaminationManagement1_war/InsQuestions" method="post">
    <div style="display: inline">
        <input type="file" name="ins" value="请选择文件">
        <input type="submit" value="导入">
    </div>
</form>
<input type="button" value="返回题库" onclick="back()">
<script type="text/javascript">
    function back(){
        window.location="questionbank.jsp"
    }
</script>
</body>
</html>
